package com.cts.tmall.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName(value = "sys_user", autoResultMap = true)
public class SysUser implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String name;
    private String loginName;
    private String password;
    private String avatar;
    private String sexy;
    private String salt;
    private String status;
    private String role;
    private String token;
    private Long createUserId;
    private Date createTime;
    private Long updateUserId;
    private Date updateTime;
}
